﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArenaToplist extends Object
    {
        public var zoneB:String;
        public var entityId:SEntityId;
        public var mark:int;
        public var rank:int;
        public var crossRank:int;
        public var lastRank:int;
        public var lastCrossRank:int;
        public var winPer:int;
        public var lastGoldNote:int;
        public var lastWeekGift:int;
        public var playerInfo:Array;

        public function SArenaToplist()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeString(this.zoneB);
            this.entityId.__write(param1);
            param1.writeInt(this.mark);
            param1.writeInt(this.rank);
            param1.writeInt(this.crossRank);
            param1.writeInt(this.lastRank);
            param1.writeInt(this.lastCrossRank);
            param1.writeInt(this.winPer);
            param1.writeInt(this.lastGoldNote);
            param1.writeInt(this.lastWeekGift);
            SeqSArenaBasePlayerHelper.write(param1, this.playerInfo);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.zoneB = param1.readString();
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.mark = param1.readInt();
            this.rank = param1.readInt();
            this.crossRank = param1.readInt();
            this.lastRank = param1.readInt();
            this.lastCrossRank = param1.readInt();
            this.winPer = param1.readInt();
            this.lastGoldNote = param1.readInt();
            this.lastWeekGift = param1.readInt();
            this.playerInfo = SeqSArenaBasePlayerHelper.read(param1);
            return;
        }// end function

    }
}
